
use data_culture_policy,clear
*-----------------------------------------------------------------------------*

******   Table 6 Benchmark regression results   ******
xtset city_id year

*keep
reghdfe lnco2_intensity culture_did,absorb(year city_id) cluster(city_id)  //controls_0
eststo reg1
*keep
reghdfe lnco2_intensity culture_did second_industry_ratio,absorb(year city_id) cluster(city_id) //controls_1
eststo reg2
*keep
reghdfe lnco2_intensity culture_did second_industry_ratio  lnPopulation,absorb(year city_id) cluster(city_id) //controls_3
eststo reg3
*keep
reghdfe lnco2_intensity culture_did second_industry_ratio  lnPopulation lnSalary,absorb(year city_id) cluster(city_id) //controls_4
eststo reg4
*keep
reghdfe lnco2_intensity culture_did second_industry_ratio  lnPopulation lnSalary lnTECH,absorb(year city_id) cluster(city_id) //controls_5
eststo reg5
*keep
reghdfe lnco2_intensity culture_did second_industry_ratio lnPopulation lnSalary lnTECH lnOpen, absorb(year city_id) cluster(city_id)  //controls_6_all
eststo reg6



**************  Table 7 Robustness checks: excluding other pilot policies  *************

*Column(1) and Column(2):
use data_culture_policy,clear

drop if province=="广东省"|province=="辽宁省"|province=="湖北省"|province=="陕西省"|province=="云南省"|province=="广东省"|city=="天津市"|city=="重庆市"|city=="深圳市"|city=="厦门市"|city=="杭州市"|city=="南昌市"|city=="贵阳市"|city=="保定市" //剔除第一批
drop if province=="海南省"|city=="北京市"|city=="上海市"|city=="石家庄市"|city=="秦皇岛市"|city=="晋城市"|city=="呼伦贝尔市"|city=="吉林市"|city=="大兴安岭地区"|city=="苏州市"|city=="淮安市"|city=="镇江市"|city=="宁波市"|city=="温州市"|city=="池州市"|city=="南平市"|city=="景德镇市"|city=="赣州市"|city=="青岛市"|city=="济源市"|city=="武汉市"|city=="广州市"|city=="桂林市"|city=="广元市"|city=="遵义市"|city=="昆明市"|city=="延安市"|city=="金昌市"|city=="乌鲁木齐市"

reghdfe lnco2_intensity culture_did  , absorb(year city_id province)

reghdfe lnco2_intensity culture_did  second_industry_ratio lnPopulation lnSalary lnTECH lnOpen, absorb(year city_id province)


**Column(3) and Column(4):
use data_culture_policy,clear

drop if province=="广东省"|province=="湖北省"|province=="北京市"|province=="天津市"|province=="上海市"|province=="重庆市"|province=="深圳市" //事实上，这部分包括在低碳城市试点中

reghdfe lnco2_intensity culture_did  , absorb(year city_id province) 

reghdfe lnco2_intensity culture_did  second_industry_ratio lnPopulation lnSalary lnTECH lnOpen, absorb(year city_id province) 


*****************************  Table 8 Mechanism test  ********************
use data_culture_policy,clear

global lncontrol_vars second_industry_ratio lnPopulation lnSalary lnTECH lnOpen

*Column(1):
reghdfe Industrial_upgrade culture_did  $lncontrol_vars, absorb(year city_id) cluster(city_id) 


*Column(2):
reghdfe Secondary_industry_employment culture_did  $lncontrol_vars, absorb(year city_id) cluster(city_id)


*Column(3):
reghdfe Tertiary_industry_employment culture_did  $lncontrol_vars, absorb(year city_id) cluster(city_id) //***


*Column(4):
reghdfe consumption_perpeople culture_did  $lncontrol_vars , absorb(year city_id province)




